//app.js
App({
  serverUrl: "",
  userInfo: null,
  setGlobalUserInfo: function (user) {
    wx.setStorageSync('userInfo', user)
  },
  getGlobalUserInfo: function () {
    return wx.getStorageSync('userInfo')
  },
  onLaunch: function () {

  }
})
